
package org.minuframework.exception;

public class ExceptionFailed extends Exception {
    
    // ------------------------------------------------------------------------
    // ************************************************************************
    // constants
    
    private static final long serialVersionUID = 1L;
    
    private String mi_Error;
    
    // ************************************************************************
    // public methods
    
    // ------------------------------------------------------------------------
    public ExceptionFailed( String string, Throwable cause ) {
        super( string, cause );
        this.mi_Error = string;
    }
    
    public ExceptionFailed( String string ) {
        this( string, null );
    }
    
    public ExceptionFailed() {
        this( "-unknown-" );
    }
    
    public String toString() {
        return this.mi_Error;
    }
    
}
